package com.dmtt.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

public class AgvInfo implements Serializable {
    //agcname
    private String agvName;
    //小车分组name
    private Integer groupName;
    //余裕系数
    private String coefficient;
    //稼动率
    private String target;
    //不稼动率
    private String nonTarget;
    //预警时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime warningTime;
    //预警提前天数
    private Integer warningDay;
    //预警状态
    private String warningStart;

    private Long id;
    //小车分组id
    private Long asgnAgvGroupId;

    private String carIpAddr;

    private String carMacAddr;

    //预警时间减去当前时间
    private Integer warday;

    private Integer total;

    private Integer currPage;

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getAgvName() {
        return agvName;
    }

    public void setAgvName(String agvName) {
        this.agvName = agvName;
    }

    public Integer getGroupName() {
        return groupName;
    }

    public void setGroupName(Integer groupName) {
        this.groupName = groupName;
    }

    public String getCoefficient() {
        return coefficient;
    }

    public void setCoefficient(String coefficient) {
        this.coefficient = coefficient;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getNonTarget() {
        return nonTarget;
    }

    public void setNonTarget(String nonTarget) {
        this.nonTarget = nonTarget;
    }

    public LocalDateTime getWarningTime() {
        return warningTime;
    }

    public void setWarningTime(LocalDateTime warningTime) {
        this.warningTime = warningTime;
    }

    public Integer getWarningDay() {
        return warningDay;
    }

    public void setWarningDay(Integer warningDay) {
        this.warningDay = warningDay;
    }

    public String getWarningStart() {
        return warningStart;
    }

    public void setWarningStart(String warningStart) {
        this.warningStart = warningStart;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAsgnAgvGroupId() {
        return asgnAgvGroupId;
    }

    public void setAsgnAgvGroupId(Long asgnAgvGroupId) {
        this.asgnAgvGroupId = asgnAgvGroupId;
    }

    public String getCarIpAddr() {
        return carIpAddr;
    }

    public void setCarIpAddr(String carIpAddr) {
        this.carIpAddr = carIpAddr;
    }

    public String getCarMacAddr() {
        return carMacAddr;
    }

    public void setCarMacAddr(String carMacAddr) {
        this.carMacAddr = carMacAddr;
    }

    public Integer getWarday() {
        return warday;
    }

    public void setWarday(Integer warday) {
        this.warday = warday;
    }
}
